<template>
	<view>
		<Temp>
			<block-title>联系我们</block-title>
			<ul>
				<li v-for="item in configList" :key="item.dictCode">{{ item.dictLabel }}：{{ item.dictValue }}</li>
			</ul>
			<image src="../../static/qrcode.png"></image>
		</Temp>
	</view>
</template>

<script setup>
import { ref, onMounted } from 'vue';
import Temp from "../../components/temp/temp.vue"
import BlockTitle from "../../components/blockTitle/blockTitle.vue"
import { request } from '@/utils/request.js'

let configList = ref({})

const getData = () => {
	request({
	  url: '/system/dict/data/type/sys_config_list',
	  data: {}
	}).then(res => {
		configList.value = [...res.data]
	})
}
	
onMounted(() => {
	getData()
})
	
</script>

<style lang="scss" scoped>
ul {
	padding: 0;
	margin: 40rpx;
	line-height: 60rpx;
	font-size: $uni-font-size-base;
	color: $uni-text-color-yellow;
	list-style: none;
}

image{
	width: 400rpx;
	height: 400rpx;
	margin-left: 40rpx;
}
</style>
